export default {
  path: "/stockIn",
  redirect: "/stockIn/index",
  meta: {
    icon: "lsicon:warehouse-into-filled",
    title: "入库管理",
    rank: 10
  },
  children: [
    {
      path: "/stockIn/index",
      name: "index",
      component: () => import("@/views/stockIn/index.vue"),
      meta: {
        title: "首页"
      }
    },
    {
      path: "/stockIn/purchase",
      name: "purchase1",
      component: () => import("@/views/stockIn/purchase.vue"),
      meta: {
        title: "采购入库"
      }
    },
    {
      path: "/stockIn/purchaseStockIn",
      name: "purchaseStockIn",
      component: () => import("@/views/stockIn/purchaseStockIn.vue"),
      meta: {
        title: "采购入库操作",
        showLink: false,
      }
    },
    {
      path: "/stockIn/records",
      name: "records",
      component: () => import("@/views/stockIn/records.vue"),
      meta: {
        title: "入库记录"
      }
    },
    {
      path: "/stockIn/print",
      name: "purchasePrint",
      component: () => import("@/views/stockIn/purchasePrint.vue"),
      meta: {
        title: "打印预览",
        showLink: false,
      }
    },
    {
      path: '/stockIn/direct',
      name: "direct",
      component:()=>import('@/views/stockIn/direct.vue'),
      meta: {
        title: "直接入库"
      }
    },
    {
      path: '/stockIn/process',
      name: "process",
      component: () => import('@/views/stockIn/process.vue'),
      meta: {
        title: "加工入库"
      }
    },
    {
      path: '/stockIn/processStockIn',
      name: "processStockIn",
      component: () => import('@/views/stockIn/processStockIn.vue'),
      meta: {
        title: "加工入库详情",
        showLink: false,
      }
    },
    {
      path: "/stockIn/print",
      name: "processPrint",
      component: () => import("@/views/stockIn/processPrint.vue"),
      meta: {
        title: "打印预览",
        showLink: false,
      }
    }
  ]
} satisfies RouteConfigsTable;